package com.yunban.project.api.text_check.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.Version;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author: lijiajun
 * @date: 2024-12-04
 * @version: 1.0
 */
@Data
@Schema(description = "线程配置")
public class ThreadConfig implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.INPUT)
    private String code;
    private String name;
    @Version
    private int version;
    private int maxThreadCount;
    private int usedThreadCount;
    private int maxRetryCount;
}
